<?php

namespace App\Http\Controllers\Admin\Ajax;

use App\Http\Controllers\Controller;
use App\Models\Admin;
use App\Models\Precut;
use App\Models\PrecutToVehicleCoverage;
use App\Models\UserSync;
use App\Models\Activity;
use App\Models\Cities;
use App\Models\FilmTypeMaster;
use App\Models\MakeMaster;
use App\Models\PartMaster;
use App\Models\ProvinceMaster;
use App\Models\RegionMaster;
use App\Models\RollMaster;
use App\Models\RollRestlen;
use App\Models\Warranty;
use App\Models\WarrantyVerify;
use Foo\Bar\Baz;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Http\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
use Qiniu\Auth;
use Qiniu\Storage\UploadManager;

class RollsController extends Controller
{
    protected  $language = 0;
    protected  $language_column = '';

    /*
     * get方法仅限get访问，post仅限post访问
     * delete与put即可以delete或put访问，也可以post访问
     * articleList
     * articlesDelete ID 为数组形式，id=>[]
     *
     * */
    protected $get = [
        'getRestlen',
    ];
    protected $delete = [
    ];
    protected $put = [
    ];
    protected $post = [
    ];

    /*
     * 获取剩余长度
     * 传入用户ID、卷号*/
    public function getRestlen(Request $request)
    {
        


    }
    /*
     * 根据销售表
     * 获取用户总长度*/
    public function getUserTotalLen()
    {

    }
}
